<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Photo extends Model
{
    use HasFactory;

    protected $fillable = ['path', 'caption', 'original_name', 'file_size', 'file_hash'];

    // 设置默认每页显示数量
    protected $perPage = 6;
}
